﻿<h3>
    Introduction</h3>
<p>
    Microsoft WebMatrix provides an easy way to get started with web development, and
    together with new Razor syntax for ASP.NET Web Pages it includes everything you
    need to get your web site up, running and integrated with many other sites and networks,
    in a short period of time. The WebMatrix helpers are designed to make your life
    easier when creating web sites. They provide you a simple and consistent way of
    performing common web development tasks that otherwise would require a great deal
    of custom coding. With a few lines of code you should be able to secure your web
    site using membership, store information in Windows Azure Storage, integrate your
    site with Facebook, among others things.
</p>

<p>Before using the Twitter helper methods you should configure your consumer key and secret in the <strong>_AppStart.cshtml</strong> page of your WebMatrix site:</p>
<pre class="codePre">@@{
    Twitter.Initialize("{consumer-key}", "{consumer-secret}");    
}</pre>

<p>Select the helper method you want to try:</p>
<ul>
    <li>
        <a href="@Href("~/Authentication")">Authentication Flow</a>
    </li>
    <li>
        <a href="@Href("~/GetPublicTimeline")">GetPublicTimeline()</a>
    </li>
    <li>
        <a href="@Href("~/GetHomeTimeline")">GetHomeTimeline()</a>
    </li>
    <li>
        <a href="@Href("~/GetUserTimeline")">GetUserTimeline()</a>
    </li>
<li>
        <a href="@Href("~/GetFriendsTimeline")">GetFriendsTimeline()</a>
    </li>
    <li>
        <a href="@Href("~/GetMentions")">GetMentions()</a>
    </li>
    <li>
        <a href="@Href("~/GetRetweetedByMe")">GetRetweetedByMe()</a>
    </li>
    <li>
        <a href="@Href("~/GetRetweetedToMe")">GetRetweetedToMe()</a>
    </li>
    <li>
        <a href="@Href("~/GetRetweetsOfMe")">GetRetweetsOfMe()</a>
    </li>
</ul>

